package com.vca.common.response;

import com.vca.common.vo.GiftCardRelevanceVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="GiftCardInfoResponse对象", description="礼品卡详情响应对象")
public class GiftCardInfoResponse implements Serializable {
    private static final long serialVersionUID = -2090103812457973805L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "礼品卡ID(即商品类型为礼品卡的商品的ID)")
    private Integer cardId;

    @ApiModelProperty(value = "卡号")
    private String cardNo;

    @ApiModelProperty(value = "使用范围 0=课程 1=讲座 2=展览")
    private Integer useAround;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "面值")
    private BigDecimal faceValue;

    @ApiModelProperty(value = "主色")
    private String mainColor;

    @ApiModelProperty(value = "第二色")
    private String secondaryColor;

    @ApiModelProperty(value = "第三色")
    private String tertiaryColor;

    @ApiModelProperty(value = "开始使用时间")
    private String startTime;

    @ApiModelProperty(value = "到期时间")
    private String endTime;

    @ApiModelProperty(value = "使用时间")
    private String  usedTime;

    @ApiModelProperty(value = "是否可赠送   0=不可赠送 1=可赠送")
    private Integer isGive;

    @ApiModelProperty(value = "礼品卡关联信息集合")
    List<GiftCardRelevanceVo> giftCardRelevanceVoList;
}
